LOCAL_PATH := $(call my-dir)
include $(CLEAR_VARS)
LOCAL_SRC_FILES:= libutils/Looper.cpp \
	libutils/RefBase.cpp \
	libutils/VectorImpl.cpp \
	safe-iop/src/safe_iop.c \
	libutils/SharedBuffer.cpp \
	libutils/Timers.cpp \
	libutils/StrongPointer.cpp 
LOCAL_C_INCLUDES += $(LOCAL_PATH)/libutils/include \
	safe-iop/include
LOCAL_CPPFLAGS += -frtti
LOCAL_LDLIBS += -llog
LOCAL_MODULE := Looper
include $(BUILD_SHARED_LIBRARY)


include $(CLEAR_VARS)
LOCAL_SRC_FILES:= libutils/Threads.cpp \
	libutils/tests/HandlerThread.cpp \
	libutils/tests/LooperTest.cpp 
LOCAL_C_INCLUDES += $(LOCAL_PATH)/libutils/include
LOCAL_SHARED_LIBRARIES := libLooper
LOCAL_LDLIBS += -llog
LOCAL_MODULE := LooperTest
include $(BUILD_EXECUTABLE)
